﻿using System;
using System.Linq;

namespace DAL
{
    public static class ServerDateTime
    {
        private static CRMEntities db = new CRMEntities();

        public static DateTime SystemDateTime
        {
            get { return db.Database.SqlQuery<DateTime>("SELECT GETDATE()").FirstOrDefault(); }
        }
    }
}
